<template>
  <div class="page-webview">
    <web-view class="webview" :src="link"></web-view>
  </div>
</template>

<script>

  export default {
    data() {
      return {
        link: '',
      }
    },
    components: {
    },
    methods: {

    },
    async mounted() {
      this.link = decodeURIComponent(this.$root.$mp.query.link);
    },
  }
</script>

<style lang="scss">
  @import "~@/styles/base";

  .page-webview {
    .webview {
      width: 100%;
      height: 100vh;
    }
  }
</style>
